<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>department</title>
    <%@include file="/static/common/commonHead.jsp"%>
    <script type="text/javascript" src="/static/js/department/department.js"></script>
</head>
<body>
<%--工具栏--%>
<div id="tools">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">增加</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="btn_changeState" data-cmd="changeState">设置部门状态</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadList">刷新</a>
</div>

<%--表格--%>
<table id="entity_list"></table>

<%--编辑页面--%>
<div id="entity_dialog">
    <form id="entity_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr>
                <td>部门编码</td>
                <td>
                    <input class="easyui-textbox" name="sn" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>部门名称</td>
                <td>
                    <input class="easyui-textbox" name="name" data-options="required:true">
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
